<script>
    export default {
        onLaunch: function() {
            console.log('App Launch');
        },
        onShow: function() {
            console.log('App Show');
        },
        onHide: function() {
            console.log('App Hide');
        },
		onLoad: function (e) {
			console.log('---------5322222222221------',e.id)
			console.log('---------5322222222221------',e.uid)
			console.log('---------5322222222221------',e.admin_id)
			console.log('---------5322222222221------',e.name)
		}
    }
</script>

<style>
    /*每个页面公共css */
    /* uni-app默认全局使用flex布局。因为flex布局有利于跨更多平台，尤其是采用原生渲染的平台。如不了解flex布局，请参考http://www.w3.org/TR/css3-flexbox/。如不使用flex布局，请删除或注释掉本行。*/
    body,
    page {
        min-height: 10%;
        display: flex;
		background-color: #F4F4F4;
    }
	
	image {
		width: 751upx;
		height: 911upx;
	}

    /* #ifdef MP-BAIDU */
    page {
        width: 100%;
        height: 100%;
        display: block; 
    }

    swan-template {
        width: 100%;
        min-height: 100%;
        display: flex;
    }

    /* #endif */
	.body {
		width: 100%;
	}
	.header {
		width: 60%;
		border-radius: 10upx;
		display: flex;
		background-color: #FFFFFF;
		margin-left: 148upx;
		margin-top: 30upx;
	}
    .content {
        display: flex;
        flex: 1;
        flex-direction: column;
        background-color: #FFFFFF;
        padding: 15upx;
		width: 91%;
		margin: 3%;
		border-radius: 23upx;
    }
	.normal {
		color: #2EC13C;
		padding-left: 14upx;
		padding-right: 20upx;
		font-size: 24upx;
		display: flex;
		align-items: center;
	}
	.abnormal {
		color: #FFD200;
		padding-left: 14upx;
		padding-right: 20upx;
		font-size: 24upx;
		display: flex;
		align-items: center;
	}
	.fault {
		color: #FD0006;
		padding-left: 14upx;
		padding-right: 20upx;
		font-size: 24upx;
		display: flex;
		align-items: center;
	}
	.tubiao1 {
		background-color: #2EC13C;
		border-radius: 50%;
		width: 28upx;
		height: 28upx;
		border: 4upx solid #C0ECC4;
	}
	.tubiao3 {
		background-color: #FFD200;
		border-radius: 50%;
		width: 28upx;
		height: 28upx;
		border: 4upx solid #FFF1B2;
	}
	.tubiao5 {
		background-color: #FD0006;
		border-radius: 50%;
		width: 28upx;
		height: 28upx;
		border: 4upx solid #FEB2B4;
	}
	.img {
		border-radius: 10upx;
		height: 170upx;
		width: 180upx;
		/* border: 2upx solid #CCCCCC;
		padding: 20upx; */
	}
</style>
